local Class = require("Core.Class")
local CSType = require("Core.CSType")
local LuaBehaviour = require('Core.LuaBehaviour')

-- @Class BasePanel
local BasePanel = Class('BasePanel', LuaBehaviour)

function BasePanel:__init()
    self.panelName = nil
end

function BasePanel:OnInit()
    self.panelName = self.gameObject.name
    print('<color=#5698C3>\"'..self.panelName..'\"</color>'..'<color=#45B787>初始化</color>面板成功')
end

function BasePanel:OnShow()
    print('<color=#5698C3>\"'..self.panelName..'\"</color>'..'<color=#AD9E5F>显示</color>面板成功')
end

function BasePanel:OnHide()
    print('<color=#5698C3>\"'..self.panelName..'\"</color>'..'<color=#B14B28>隐藏</color>面板成功')
end

return BasePanel